package ru.bmstu.vks.server.view.threads;

import ru.bmstu.vks.server.view.ServerView;
import ru.bmstu.vks.server.view.history.HistoryView;

public class ServerHistoryThread extends Thread {
	private final ServerView serverView;
	
	public ServerHistoryThread(ServerView serverView) {
		this.serverView = serverView;
	}
	
	public void run() {
		HistoryView history = new HistoryView(serverView.getFrame());
		history.setLocationRelativeTo(serverView.getFrame());
		history.setVisible(true);
	}
}
